// pages/login/login.js
Page({
	data: {
    username:'',
    password:''
	},
	onLoad(options) {

	},
	onClose(){
		wx.navigateBack();
	},
	toRegister(){
		wx.navigateTo({url: '/pages/register/register'});
	}
})